#include <stdio.h>
 #include <unistd.h>
int main()
{
    char    *arglist[3];
arglist[0] = "ls";
    arglist[1] = "-l";
    arglist[2] = 0 ;//NULL
    printf("* * * About to exec ls -l\n");
    execvp( "ls" , arglist );
    printf("* * * ls is done. bye");
return 0;
}
